﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/Master.Master" AutoEventWireup="true" CodeBehind="wFrmTablaGeneral.aspx.cs" Inherits="Crosland.Automotriz.Web.Seguridad.wFrmTablaGeneral" %>

<%@ Register Assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxRoundPanel" TagPrefix="dx" %>

<%@ Register Assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxPopupControl" TagPrefix="dx" %>

<%@ Register Assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxPanel" TagPrefix="dx" %>

<%@ Register Assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dx" %>
<%@ Register assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxGridView" tagprefix="dx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cphMain" runat="server">

 <script type="text/javascript">
    // <![CDATA[

     function ShowPopupMsjSql() {
         PopupMsjSql.Show();

     }
     function ShowPopupModificar() {
         PopupModificar.Show();

     }

     function ShowPopupDetModificar() {
         PopupDetModificar.Show();

     }

    // ]]> 
    </script>

        <script type="text/javascript">


            function pageLoad() {

                var control = document.getElementById('ctl00_cphMain_hfIndicador');
                cambiarImagenHeader();

                if (control.value == 'S') {
                    $find('<%= ((AjaxControlToolkit.CollapsiblePanelExtender)this.Master.FindControl("cpeMenuGeneral")).BehaviorID %>')._doClose();

                    control.value = 'N';
                }


            }

                

                
               

</script> 

    <script type="text/javascript">
        function soloLetras(e) {
            key = e.keyCode || e.which;
            tecla = String.fromCharCode(key).toLowerCase();
            letras = " 0123456789áéíóúabcdefghijklmnñopqrstuvwxyz";
            especiales = [40, 41, 47, 46, 45, 61, 95, 59, 58, 38, 34, 33, 42, 43, 35, 36, 37, 92, 93, 94, 126, 125, 124, 127, 168];
            tecla_especial = false
            for (var i in especiales) {
                if (key == especiales[i]) {
                    tecla_especial = true;
                    break;
                }
            }

            if (letras.indexOf(tecla) == -1 && !tecla_especial) {
                return false;
            }
        }
</script>


<div class="main-header" style="width:100%">
                <div class="main-titulo" style="width:87%;">
                Mantenimiento de Tablas
                    </div>
               
               
            </div>
             <div class="content-form">
             <asp:UpdatePanel runat="server">
             <ContentTemplate>
             

              <asp:HiddenField ID="hfIndicador" runat="server" Value="S" />  
              <table>
               <tr>
               <td>
               
                   <dx:ASPxButton ID="btnSalirGeneral" runat="server" Text="Salir" 
                       AutoPostBack="False" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                       CssPostfix="Office2010Blue" 
                       SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                       onclick="btnSalirGeneral_Click">
                   </dx:ASPxButton>
               </td>
               </tr>
               </table>
             <table style="width:100%;">
             <tr>
             <td style="width:50%;" valign="top">
             
                 <dx:ASPxRoundPanel ID="ASPxRoundPanel1" runat="server" Width="100%" 
                     CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                     CssPostfix="Office2010Blue" EnableDefaultAppearance="False" 
                     GroupBoxCaptionOffsetX="6px" GroupBoxCaptionOffsetY="-19px" 
                     HeaderText="Maestro" 
                     SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                     <ContentPaddings PaddingBottom="10px" PaddingLeft="9px" PaddingRight="11px" 
                         PaddingTop="10px" />
                     <HeaderStyle>
                     <Paddings PaddingBottom="6px" PaddingLeft="9px" PaddingRight="11px" 
                         PaddingTop="3px" />
                     </HeaderStyle>
                     <PanelCollection>
<dx:PanelContent runat="server" SupportsDisabledAttribute="True">



   <table>
            <tr>
            <td>
            
                <dx:ASPxButton ID="btnNuevo" runat="server" Text="Nuevo" 
                    CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                    CssPostfix="Office2010Blue" 
                    SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                    Width="100px" AutoPostBack="False">
                    <ClientSideEvents Click="function(s, e) {
	PopupNuevo.Show();
}" />
                </dx:ASPxButton>

            
            </td>
            <td>
            
                <dx:ASPxButton ID="btnModificar" runat="server" Text="Modificar" 
                    CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                    CssPostfix="Office2010Blue" 
                    SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                    Width="100px" AutoPostBack="False" OnClick="btnModificar_Click1">
                </dx:ASPxButton>


            </td>
            <td>
            
            

                &nbsp;</td>
            <td>
            
                &nbsp;</td>
            </tr>
            </table>



  <dx:ASPxGridView ID="grdListaTabla" runat="server" 
                     CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                     CssPostfix="Office2010Blue" Width="100%" AutoGenerateColumns="False" 
                     KeyFieldName="ID_GENERAL_CAB" 
                     onafterperformcallback="grdListaTabla_AfterPerformCallback" 
                     onpageindexchanged="grdListaTabla_PageIndexChanged" 
        EnableCallBacks="False" OnFocusedRowChanged="grdListaTabla_FocusedRowChanged">
                     <Columns>
                         <dx:GridViewDataTextColumn Caption="Id" FieldName="ID_GENERAL_CAB" 
                             VisibleIndex="1">
                             <HeaderStyle HorizontalAlign="Center" />
                             <CellStyle HorizontalAlign="Center">
                             </CellStyle>
                         </dx:GridViewDataTextColumn>
                         <dx:GridViewDataTextColumn Caption="Nombre tabla" FieldName="NOM_TABLA" 
                             VisibleIndex="2">
                         </dx:GridViewDataTextColumn>
                         <dx:GridViewDataTextColumn Caption="Observacion" FieldName="DES_OBSERVACIONES" 
                             Visible="False" VisibleIndex="4">
                         </dx:GridViewDataTextColumn>
                         <dx:GridViewDataTextColumn FieldName="ID_MODULO" Visible="False" 
                             VisibleIndex="5">
                         </dx:GridViewDataTextColumn>
                         <dx:GridViewDataTextColumn FieldName="IND_ACTIVO" Visible="False" 
                             VisibleIndex="6">
                         </dx:GridViewDataTextColumn>
                         <dx:GridViewDataTextColumn Caption="Modulo" FieldName="NOM_MODULO" 
                             VisibleIndex="3">
                             <HeaderStyle HorizontalAlign="Center" />
                             <CellStyle HorizontalAlign="Center">
                             </CellStyle>
                         </dx:GridViewDataTextColumn>
                     </Columns>
                     <SettingsBehavior AllowFocusedRow="True" 
                         ProcessFocusedRowChangedOnServer="True" />
                     <SettingsPager PageSize="20">
                     </SettingsPager>
                     <Settings ShowFilterRow="True" />
                     <Images SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                         <LoadingPanelOnStatusBar Url="~/App_Themes/Office2010Blue/GridView/Loading.gif">
                         </LoadingPanelOnStatusBar>
                         <LoadingPanel Url="~/App_Themes/Office2010Blue/GridView/Loading.gif">
                         </LoadingPanel>
                     </Images>
                     <ImagesFilterControl>
                         <LoadingPanel Url="~/App_Themes/Office2010Blue/GridView/Loading.gif">
                         </LoadingPanel>
                     </ImagesFilterControl>
                     <Styles CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                         CssPostfix="Office2010Blue">
                         <Header ImageSpacing="5px" SortingImageSpacing="5px">
                         </Header>
                         <LoadingPanel ImageSpacing="5px">
                         </LoadingPanel>
                     </Styles>
                     <StylesPager>
                         <PageNumber ForeColor="#3E4846">
                         </PageNumber>
                         <Summary ForeColor="#1E395B">
                         </Summary>
                     </StylesPager>
                     <StylesEditors ButtonEditCellSpacing="0">
                         <ProgressBar Height="21px">
                         </ProgressBar>
                     </StylesEditors>
                 </dx:ASPxGridView>








                         </dx:PanelContent>
</PanelCollection>
                 </dx:ASPxRoundPanel>



             </td>
             <td style="width:50%;" valign="top">
             
             


                 <dx:ASPxRoundPanel ID="ASPxRoundPanel2" runat="server" Width="100%" 
                     CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                     CssPostfix="Office2010Blue" EnableDefaultAppearance="False" 
                     GroupBoxCaptionOffsetX="6px" GroupBoxCaptionOffsetY="-19px" 
                     HeaderText="Detalle" 
                     SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                     <ContentPaddings PaddingBottom="10px" PaddingLeft="9px" PaddingRight="11px" 
                         PaddingTop="10px" />
                     <HeaderStyle>
                     <Paddings PaddingBottom="6px" PaddingLeft="9px" PaddingRight="11px" 
                         PaddingTop="3px" />
                     </HeaderStyle>
                     <PanelCollection>
<dx:PanelContent runat="server" SupportsDisabledAttribute="True">





<table>
<tr>
<td>
    <dx:ASPxButton ID="ASPxButton1" runat="server" Text="Nuevo" 
        CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
        CssPostfix="Office2010Blue" 
        SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
        Width="100px" AutoPostBack="False">
        <ClientSideEvents Click="function(s, e) {
	PopupDetNuevo.Show();
}" />
    </dx:ASPxButton>

</td>
<td>

    <dx:ASPxButton ID="btnModifica" runat="server" Text="Modifica" 
        CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
        CssPostfix="Office2010Blue" 
        SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
        Width="100px" AutoPostBack="False" OnClick="btnModifica_Click">
    </dx:ASPxButton>
</td>
<td>

    &nbsp;</td>
</tr>

</table>












<dx:ASPxGridView ID="grdListaDetalleTabla" runat="server" 
         AutoGenerateColumns="False" 
         CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
         CssPostfix="Office2010Blue" Width="100%" KeyFieldName="ID_GENERAL_DET" 
        EnableCallBacks="False" 
        OnAfterPerformCallback="grdListaDetalleTabla_AfterPerformCallback" 
        OnFocusedRowChanged="grdListaDetalleTabla_FocusedRowChanged" 
        OnPageIndexChanged="grdListaDetalleTabla_PageIndexChanged" 
        OnHtmlRowPrepared="grdListaDetalleTabla_HtmlRowPrepared">
         <Columns>
             <dx:GridViewDataTextColumn Caption="Id" FieldName="ID_GENERAL_DET" 
                 VisibleIndex="0" Width="10px">
                 <HeaderStyle HorizontalAlign="Center" />
                 <CellStyle HorizontalAlign="Center">
                 </CellStyle>
             </dx:GridViewDataTextColumn>
             <dx:GridViewDataTextColumn FieldName="ID_GENERAL_CAB" Visible="False" 
                 VisibleIndex="7">
             </dx:GridViewDataTextColumn>
             <dx:GridViewDataTextColumn Caption="Descripción corta" FieldName="DES_CORTA" 
                 VisibleIndex="1">
                 <HeaderStyle HorizontalAlign="Center" />
                 <CellStyle HorizontalAlign="Center">
                 </CellStyle>
             </dx:GridViewDataTextColumn>
             <dx:GridViewDataTextColumn Caption="Descripción larga" FieldName="DES_LARGA" 
                 VisibleIndex="2">
                 <HeaderStyle HorizontalAlign="Center" />
                 <CellStyle HorizontalAlign="Center">
                 </CellStyle>
             </dx:GridViewDataTextColumn>
             <dx:GridViewDataTextColumn FieldName="IND_ACTIVO" Visible="False" 
                 VisibleIndex="6">
             </dx:GridViewDataTextColumn>
             <dx:GridViewDataTextColumn FieldName="NOM_TABLA" Visible="False" 
                 VisibleIndex="3">
             </dx:GridViewDataTextColumn>
             <dx:GridViewDataTextColumn Caption="Imp.valor" FieldName="IMP_VALOR" 
                 ShowInCustomizationForm="True" VisibleIndex="4">
             </dx:GridViewDataTextColumn>
             <dx:GridViewDataTextColumn Caption="Descripción Opc." 
                 FieldName="DES_LARGA_OPCIONAL" ShowInCustomizationForm="True" VisibleIndex="5">
                 <HeaderStyle HorizontalAlign="Center" />
                 <CellStyle HorizontalAlign="Center">
                 </CellStyle>
             </dx:GridViewDataTextColumn>
         </Columns>
         <SettingsBehavior AllowFocusedRow="True" 
             ProcessFocusedRowChangedOnServer="True" />
         <SettingsPager PageSize="20">
         </SettingsPager>
         <Settings ShowFilterRow="True" />
         <Images SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
             <LoadingPanelOnStatusBar Url="~/App_Themes/Office2010Blue/GridView/Loading.gif">
             </LoadingPanelOnStatusBar>
             <LoadingPanel Url="~/App_Themes/Office2010Blue/GridView/Loading.gif">
             </LoadingPanel>
         </Images>
         <ImagesFilterControl>
             <LoadingPanel Url="~/App_Themes/Office2010Blue/GridView/Loading.gif">
             </LoadingPanel>
         </ImagesFilterControl>
         <Styles CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
             CssPostfix="Office2010Blue">
             <Header ImageSpacing="5px" SortingImageSpacing="5px">
             </Header>
             <LoadingPanel ImageSpacing="5px">
             </LoadingPanel>
         </Styles>
         <StylesPager>
             <PageNumber ForeColor="#3E4846">
             </PageNumber>
             <Summary ForeColor="#1E395B">
             </Summary>
         </StylesPager>
         <StylesEditors ButtonEditCellSpacing="0">
         </StylesEditors>
     </dx:ASPxGridView>













                         </dx:PanelContent>
</PanelCollection>
                 </dx:ASPxRoundPanel>
             
             
             </td>
             
             </tr>
             </table>
             
               

             <br />



             <dx:ASPxPopupControl ID="PopupMsjSql" runat="server" AllowDragging="True" 
                    ClientInstanceName="PopupMsjSql" CloseAction="CloseButton" 
                    CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" 
                    EnableViewState="False" HeaderText="Mensaje" 
                    LoadingPanelText="Cargando&amp;hellip;" Modal="True" 
                    PopupHorizontalAlign="WindowCenter" PopupVerticalAlign="WindowCenter" 
                    SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css" 
        Width="300px">
                
                    

                    <loadingpanelimage url="~/App_Themes/PlasticBlue/Web/dvLoading.gif">
                    

                    </loadingpanelimage>
                    

                    <closebuttonstyle>
                    

                    <paddings padding="0px" />
                    

                    </closebuttonstyle>
                    

                    <contentstyle>
                    

                    <borderbottom bordercolor="#E0E0E0" borderstyle="Solid" borderwidth="1px" />
                    

                    </contentstyle>
                    

                    <HeaderStyle>

                    <paddings paddingbottom="4px" paddingleft="10px" paddingright="4px" 
                        paddingtop="4px" />
                    

                    </HeaderStyle>
                    

                    <contentcollection>
                    
                    <dx:PopupControlContentControl ID="PopupControlContentControl8" runat="server" 
                        SupportsDisabledAttribute="True">

    <br />
      <dx:ASPxPanel ID="ASPxPanel1" runat="server" DefaultButton="btCreate">
                    <panelcollection>
                        <dx:PanelContent ID="PanelContent1" runat="server">
                        <table align="center">
                        <tr>
                        <td>
                        
                            &nbsp;<dx:ASPxLabel ID="lblMsjSql" runat="server" Font-Size="8pt">
                            </dx:ASPxLabel>
                            </td>
                        
                        </tr>
                            <tr>
                                <td>
                                   </td>
                            </tr>
                              </table>
                              <table>
                        <tr>
                      <td>
                      
                      
                          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;</td>
                        
                        <td>
                        
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;
                        
                            <dx:ASPxButton ID="btnAceptar" runat="server" AutoPostBack="False" 
                                ClientInstanceName="btnEliminar" 
                                CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                CssPostfix="Office2010Blue" 
                                SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" Text="Aceptar" 
                                Width="10px">
                                <ClientSideEvents Click="function(s, e) {
	PopupMsjSql.Hide();
}" />
                            </dx:ASPxButton>
                        
                           </td>
                        
                        </tr>
                        
                        
                        </table>




                 </dx:PanelContent>
    </panelcollection>
   </dx:ASPxPanel>
   </dx:PopupControlContentControl>
                    
                    </contentcollection>
                    

                </dx:ASPxPopupControl>

          





          <dx:ASPxPopupControl ID="PopupMsjConfirmacion" runat="server" AllowDragging="True" 
                    ClientInstanceName="PopupMsjConfirmacion" CloseAction="CloseButton" 
                    CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" 
                    EnableViewState="False" HeaderText="Mensaje" 
                    LoadingPanelText="Cargando&amp;hellip;" Modal="True" 
                    PopupHorizontalAlign="WindowCenter" PopupVerticalAlign="WindowCenter" 
                    SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css" 
        Width="300px">
                
                    

                    <loadingpanelimage url="~/App_Themes/PlasticBlue/Web/dvLoading.gif">
                    

                    </loadingpanelimage>
                    

                    <closebuttonstyle>
                    

                    <paddings padding="0px" />
                    

                    </closebuttonstyle>
                    

                    <contentstyle>
                    

                    <borderbottom bordercolor="#E0E0E0" borderstyle="Solid" borderwidth="1px" />
                    

                    </contentstyle>
                    

                    <HeaderStyle>

                    <paddings paddingbottom="4px" paddingleft="10px" paddingright="4px" 
                        paddingtop="4px" />
                    

                    </HeaderStyle>
                    

                    <contentcollection>
                    
                    <dx:PopupControlContentControl ID="PopupControlContentControl6" runat="server" 
                        SupportsDisabledAttribute="True">

    <br />
      <dx:ASPxPanel ID="ASPxPanel6" runat="server" DefaultButton="btCreate">
                    <panelcollection>
                        <dx:PanelContent ID="PanelContent6" runat="server">
                        <table>
                        <tr>
                        <td colspan="3">
                        
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; ¿Estas seguro de grabar ?</td>
                        
                        </tr>
                            <tr>
                                <td colspan="3">
                                   </td>
                            </tr>
                            <tr>
                                <td colspan="3">
                                    &nbsp;</td>
                            </tr>
                        <tr>
                        <td>
                        
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;
                        
                           </td>
                        <td>
                        
                        
                            <dx:ASPxButton ID="btnPopAceptar" runat="server" AutoPostBack="False" 
                                ClientInstanceName="btnEliminar" 
                                CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                CssPostfix="Office2010Blue" OnClick="btnPopAceptar_Click" 
                                SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" Text="Aceptar" 
                                Width="10px">
                                <clientsideevents click="function(s, e) {
	PopupMsjConfirmacion.Hide();
	PopupNuevo.Hide();
	e.processOnServer = true;
}" />
                            </dx:ASPxButton>
                        </td>

                        <td>
                            <dx:ASPxButton ID="btnPopCancelar" runat="server" AutoPostBack="False" 
                                CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                CssPostfix="Office2010Blue" 
                                SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" Text="Cancelar" 
                                Width="10px">
                                <clientsideevents click="function(s, e) {
	PopupMsjConfirmacion.Hide();
}" />
                            </dx:ASPxButton>
                          </td>
                        
                        </tr>
                        
                        
                        </table>




                 </dx:PanelContent>
    </panelcollection>
   </dx:ASPxPanel>
   </dx:PopupControlContentControl>
                    
                    </contentcollection>
                    

                </dx:ASPxPopupControl>






<dx:ASPxPopupControl ID="PopupConfirmacionActualizar" runat="server" AllowDragging="True" 
                    ClientInstanceName="PopupConfirmacionActualizar" CloseAction="CloseButton" 
                    CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" 
                    EnableViewState="False" HeaderText="Mensaje" 
                    LoadingPanelText="Cargando&amp;hellip;" Modal="True" 
                    PopupHorizontalAlign="WindowCenter" PopupVerticalAlign="WindowCenter" 
                    SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css" 
        Width="300px">
                
                    

                    <loadingpanelimage url="~/App_Themes/PlasticBlue/Web/dvLoading.gif">
                    

                    </loadingpanelimage>
                    

                    <closebuttonstyle>
                    

                    <paddings padding="0px" />
                    

                    </closebuttonstyle>
                    

                    <contentstyle>
                    

                    <borderbottom bordercolor="#E0E0E0" borderstyle="Solid" borderwidth="1px" />
                    

                    </contentstyle>
                    

                    <HeaderStyle>

                    <paddings paddingbottom="4px" paddingleft="10px" paddingright="4px" 
                        paddingtop="4px" />
                    

                    </HeaderStyle>
                    

                    <contentcollection>
                    
                    <dx:PopupControlContentControl ID="PopupControlContentControl4" runat="server" 
                        SupportsDisabledAttribute="True">

    <br />
      <dx:ASPxPanel ID="ASPxPanel2" runat="server" DefaultButton="btCreate">
                    <panelcollection>
                        <dx:PanelContent ID="PanelContent7" runat="server">
                        <table>
                        <tr>
                        <td colspan="3">
                        
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; ¿Estas seguro de actualizar?</td>
                        
                        </tr>
                            <tr>
                                <td colspan="3">
                                   </td>
                            </tr>
                            <tr>
                                <td colspan="3">
                                    &nbsp;</td>
                            </tr>
                        <tr>
                        <td>
                        
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;
                        
                           </td>
                        <td>
                        
                        
                            <dx:ASPxButton ID="btnPopActualizar" runat="server" AutoPostBack="False" 
                                ClientInstanceName="btnEliminar" 
                                CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                CssPostfix="Office2010Blue" OnClick="btnPopActualizar_Click" 
                                SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" Text="Aceptar" 
                                Width="10px">
                                <clientsideevents click="function(s, e) {
	PopupConfirmacionActualizar.Hide();
	PopupModificar.Hide();
	e.processOnServer = true;
}" />
                            </dx:ASPxButton>
                        </td>

                        <td>
                            <dx:ASPxButton ID="ASPxButton10" runat="server" AutoPostBack="False" 
                                CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                CssPostfix="Office2010Blue" 
                                SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" Text="Cancelar" 
                                Width="10px">
                                <clientsideevents click="function(s, e) {
	PopupConfirmacionActualizar.Hide();
}" />
                            </dx:ASPxButton>
                          </td>
                        
                        </tr>
                        
                        
                        </table>




                 </dx:PanelContent>
    </panelcollection>
   </dx:ASPxPanel>
   </dx:PopupControlContentControl>
                    
                    </contentcollection>
                    

                </dx:ASPxPopupControl>




 <dx:ASPxPopupControl ID="PopupNuevo" runat="server" ClientInstanceName="PopupNuevo" 
                     CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" 
                     HeaderText="Nuevo" Modal="True" PopupHorizontalAlign="WindowCenter" 
                     PopupVerticalAlign="WindowCenter" 
                     SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css">

     <LoadingPanelImage Url="~/App_Themes/PlasticBlue/Web/dvLoading.gif">
     </LoadingPanelImage>
     <CloseButtonStyle>
         <Paddings Padding="0px" />
     </CloseButtonStyle>
     <ContentStyle>
         <BorderBottom BorderColor="#E0E0E0" BorderStyle="Solid" BorderWidth="1px" />
     </ContentStyle>
     <HeaderStyle>
     <Paddings PaddingBottom="4px" PaddingLeft="10px" PaddingRight="4px" 
         PaddingTop="4px" />
     </HeaderStyle>

     <ContentCollection>
<dx:PopupControlContentControl runat="server" SupportsDisabledAttribute="True">




<dx:ASPxRoundPanel ID="PRPanel1" runat="server" Width="200px" 
                       CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                       CssPostfix="Office2010Blue" EnableDefaultAppearance="False" 
                       GroupBoxCaptionOffsetX="6px" GroupBoxCaptionOffsetY="-19px" HeaderText="" 
                       SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" View="GroupBox">
                       <ContentPaddings PaddingBottom="10px" PaddingLeft="9px" PaddingRight="11px" 
                           PaddingTop="10px" />
                       <HeaderStyle>
                       <Paddings PaddingBottom="6px" PaddingLeft="9px" PaddingRight="11px" 
                           PaddingTop="3px" />
                       </HeaderStyle>
                       <PanelCollection>
<dx:PanelContent ID="PanelContent2" runat="server" SupportsDisabledAttribute="True">

<table>
<tr>

<td>
Nombre:
</td>
<td>
    <dx:ASPxTextBox ID="txtNombre" runat="server" Width="300px" onkeypress="return soloLetras(event)"
        CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
        CssPostfix="Office2010Blue" MaxLength="40" 
        SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
    </dx:ASPxTextBox>

</td>

</tr>
    <tr>
        <td>
            &nbsp;</td>
        <td>
            &nbsp;</td>
    </tr>
<tr>
<td>


    Observación:</td>
<td>


    <dx:ASPxMemo ID="txtObservacion" runat="server" 
        CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
        CssPostfix="Office2010Blue" 
        SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
        Width="300px" Rows="6">
    </dx:ASPxMemo>


</td>

</tr>

    <tr>
        <td>
            &nbsp;</td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td>
            Modulo:</td>
        <td>
            <dx:ASPxComboBox ID="cboModuloN" runat="server" 
                CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                CssPostfix="Office2010Blue" Spacing="0" 
                SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                Width="300px">
                <LoadingPanelImage Url="~/App_Themes/Office2010Blue/Editors/Loading.gif">
                </LoadingPanelImage>
                <LoadingPanelStyle ImageSpacing="5px">
                </LoadingPanelStyle>
                <ButtonStyle Width="13px">
                </ButtonStyle>
            </dx:ASPxComboBox>
        </td>
    </tr>
    <tr>
        <td>
            &nbsp;</td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td>
            &nbsp;</td>
        <td>
            <dx:ASPxCheckBox ID="chkActivo" runat="server" CheckState="Checked" 
                CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                CssPostfix="Office2010Blue" 
                SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" Text="Activo" 
                Width="300px" Checked="True">
            </dx:ASPxCheckBox>
        </td>
    </tr>

</table>











<table >
            <tr>
            <td>
            
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;</td>
            <td>
            
                <dx:ASPxButton ID="btnGrabar" runat="server" Text="Grabar" 
                    CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                    CssPostfix="Office2010Blue" 
                    SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                    Width="100px" AutoPostBack="False">
                    <ClientSideEvents Click="function(s, e) {
PopupMsjConfirmacion.Show();
	
}" />
                </dx:ASPxButton>
            
            </td>
            <td>
            
            

                <dx:ASPxButton ID="ASPxButton2" runat="server" Text="Cancelar" 
                    CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                    CssPostfix="Office2010Blue" 
                    SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                    Width="100px" AutoPostBack="False">
                    <ClientSideEvents Click="function(s, e) {
	PopupNuevo.Hide();
}" />
                </dx:ASPxButton>

            </td>
            
            </tr>
            
            </table>















                           </dx:PanelContent>
</PanelCollection>
                   </dx:ASPxRoundPanel>














         </dx:PopupControlContentControl>
</ContentCollection>

</dx:ASPxPopupControl>






<dx:ASPxPopupControl ID="PopupModificar" runat="server" ClientInstanceName="PopupModificar" 
                     CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" 
                     HeaderText="Modificación" Modal="True" PopupHorizontalAlign="WindowCenter" 
                     PopupVerticalAlign="WindowCenter" 
                     SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css">

     <LoadingPanelImage Url="~/App_Themes/PlasticBlue/Web/dvLoading.gif">
     </LoadingPanelImage>
     <CloseButtonStyle>
         <Paddings Padding="0px" />
     </CloseButtonStyle>
     <ContentStyle>
         <BorderBottom BorderColor="#E0E0E0" BorderStyle="Solid" BorderWidth="1px" />
     </ContentStyle>
     <HeaderStyle>
     <Paddings PaddingBottom="4px" PaddingLeft="10px" PaddingRight="4px" 
         PaddingTop="4px" />
     </HeaderStyle>

     <ContentCollection>
<dx:PopupControlContentControl ID="PopupControlContentControl1" runat="server" SupportsDisabledAttribute="True">




<dx:ASPxRoundPanel ID="ASPxRoundPanel3" runat="server" Width="200px" 
                       CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                       CssPostfix="Office2010Blue" EnableDefaultAppearance="False" 
                       GroupBoxCaptionOffsetX="6px" GroupBoxCaptionOffsetY="-19px" HeaderText="" 
                       SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" View="GroupBox">
                       <ContentPaddings PaddingBottom="10px" PaddingLeft="9px" PaddingRight="11px" 
                           PaddingTop="10px" />
                       <HeaderStyle>
                       <Paddings PaddingBottom="6px" PaddingLeft="9px" PaddingRight="11px" 
                           PaddingTop="3px" />
                       </HeaderStyle>
                       <PanelCollection>
<dx:PanelContent ID="PanelContent3" runat="server" SupportsDisabledAttribute="True">

<table>
<tr>

<td>
Nombre:
</td>
<td>
    <dx:ASPxTextBox ID="txtNombreM" runat="server" Width="300px" onkeypress="return soloLetras(event)"
        CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
        CssPostfix="Office2010Blue" MaxLength="40" 
        SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
    </dx:ASPxTextBox>

</td>

</tr>
    <tr>
        <td>
            &nbsp;</td>
        <td>
            &nbsp;</td>
    </tr>
<tr>
<td>


    Observación:</td>
<td>


    <dx:ASPxMemo ID="txtObservacionM" runat="server" 
        CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
        CssPostfix="Office2010Blue" Height="100px" 
        SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
        Width="300px">
    </dx:ASPxMemo>


</td>

</tr>

    <tr>
        <td>
            &nbsp;</td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td>
            Modulo:</td>
        <td>
            <dx:ASPxComboBox ID="cboModuloM" runat="server" 
                CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                CssPostfix="Office2010Blue" Spacing="0" 
                SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                Width="300px">
                <LoadingPanelImage Url="~/App_Themes/Office2010Blue/Editors/Loading.gif">
                </LoadingPanelImage>
                <LoadingPanelStyle ImageSpacing="5px">
                </LoadingPanelStyle>
                <ButtonStyle Width="13px">
                </ButtonStyle>
            </dx:ASPxComboBox>
        </td>
    </tr>
    <tr>
        <td>
            &nbsp;</td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td>
            &nbsp;</td>
        <td>
            <dx:ASPxCheckBox ID="chkActivoM" runat="server" CheckState="Checked" 
                CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                CssPostfix="Office2010Blue" 
                SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" Text="Activo" 
                Width="300px" Checked="True">
            </dx:ASPxCheckBox>
        </td>
    </tr>

</table>











<table >
            <tr>
            <td>
            
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;</td>
            <td>
            
                <dx:ASPxButton ID="ASPxButton3" runat="server" Text="Grabar" 
                    CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                    CssPostfix="Office2010Blue" 
                    SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                    Width="100px" AutoPostBack="False">
                    <ClientSideEvents Click="function(s, e) {
	PopupConfirmacionActualizar.Show();
}" />
                </dx:ASPxButton>
            
            </td>
            <td>
            
            

                <dx:ASPxButton ID="ASPxButton4" runat="server" Text="Cancelar" 
                    CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                    CssPostfix="Office2010Blue" 
                    SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                    Width="100px" AutoPostBack="False">
                    <ClientSideEvents Click="function(s, e) {
	PopupModificar.Hide();
}" />
                </dx:ASPxButton>

            </td>
            
            </tr>
            
            </table>















                           </dx:PanelContent>
</PanelCollection>
                   </dx:ASPxRoundPanel>














         </dx:PopupControlContentControl>
</ContentCollection>

</dx:ASPxPopupControl>







<dx:ASPxPopupControl ID="PopupDetNuevo" runat="server" ClientInstanceName="PopupDetNuevo" 
                     CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" 
                     HeaderText="Nuevo" Modal="True" PopupHorizontalAlign="WindowCenter" 
                     PopupVerticalAlign="WindowCenter" 
                     SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css">

     <LoadingPanelImage Url="~/App_Themes/PlasticBlue/Web/dvLoading.gif">
     </LoadingPanelImage>
     <CloseButtonStyle>
         <Paddings Padding="0px" />
     </CloseButtonStyle>
     <ContentStyle>
         <BorderBottom BorderColor="#E0E0E0" BorderStyle="Solid" BorderWidth="1px" />
     </ContentStyle>
     <HeaderStyle>
     <Paddings PaddingBottom="4px" PaddingLeft="10px" PaddingRight="4px" 
         PaddingTop="4px" />
     </HeaderStyle>

     <ContentCollection>
<dx:PopupControlContentControl ID="PopupControlContentControl2" runat="server" SupportsDisabledAttribute="True">





<dx:ASPxRoundPanel ID="ASPxRoundPanel4" runat="server" 
                     CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                     CssPostfix="Office2010Blue" EnableDefaultAppearance="False" 
                     GroupBoxCaptionOffsetX="6px" GroupBoxCaptionOffsetY="-19px" HeaderText="" 
                     SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" View="GroupBox" 
                     Width="400px">
                     <ContentPaddings PaddingBottom="10px" PaddingLeft="9px" PaddingRight="11px" 
                         PaddingTop="10px" />
                     <ContentPaddings PaddingBottom="10px" PaddingLeft="9px" PaddingRight="11px" 
                         PaddingTop="10px" />
                     <HeaderStyle>
                     <Paddings PaddingBottom="6px" PaddingLeft="9px" PaddingRight="11px" 
                         PaddingTop="3px" />
                     <Paddings PaddingBottom="6px" PaddingLeft="9px" PaddingRight="11px" 
                         PaddingTop="3px" />
                     </HeaderStyle>
                     <PanelCollection>
<dx:PanelContent ID="PanelContent4" runat="server" SupportsDisabledAttribute="True">
<table>
<tr>
<td>

    Tabla:

</td>

<td>
    <dx:ASPxLabel ID="lbltabla" runat="server">
    </dx:ASPxLabel>

</td>

</tr>


<tr>
<td>

    &nbsp;</td>

<td>

    &nbsp;</td>

</tr>


<tr>
<td>


    Descripción corta:
</td>


<td>
    <dx:ASPxTextBox ID="txtDescripcionCorta" runat="server" 
        CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
        CssPostfix="Office2010Blue" MaxLength="20" 
        SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
        Width="250px" Height="30px">
        <Paddings PaddingLeft="5px" />
    </dx:ASPxTextBox>


</td>


</tr>


    <tr>
        <td>
            &nbsp;</td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td>
            Descripción larga:
        </td>
        <td>
            <dx:ASPxTextBox ID="txtDescripcionLarga" runat="server" 
                CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                CssPostfix="Office2010Blue" MaxLength="100" 
                SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                Width="250px" Height="30px">
                <Paddings PaddingLeft="5px" />
            </dx:ASPxTextBox>
        </td>
    </tr>
    <tr>
        <td>
            &nbsp;</td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td>
            Descripción Opc.:</td>
        <td>
            <dx:ASPxTextBox ID="txtDescripcionOpcional" runat="server" 
                CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                CssPostfix="Office2010Blue" Height="30px" MaxLength="100" 
                SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" Width="250px">
                <Paddings PaddingLeft="5px" />
            </dx:ASPxTextBox>
        </td>
    </tr>
    <tr>
        <td>
            &nbsp;</td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td>
            Imp.Valor</td>
        <td>
            <dx:ASPxSpinEdit ID="SpinValorN" runat="server" 
                CssFilePath="~/App_Themes/Aqua/{0}/styles.css" CssPostfix="Aqua" Height="30px" 
                MaxLength="50" Number="0" 
                SpriteCssFilePath="~/App_Themes/Aqua/{0}/sprite.css" Width="150px">
                <SpinButtons>
                    <IncrementImage>
                        <SpriteProperties HottrackedCssClass="dxEditors_edtSpinEditIncrementImageHover_Aqua" 
                            PressedCssClass="dxEditors_edtSpinEditIncrementImagePressed_Aqua" />
                        <SpriteProperties HottrackedCssClass="dxEditors_edtSpinEditIncrementImageHover_Aqua" 
                            PressedCssClass="dxEditors_edtSpinEditIncrementImagePressed_Aqua" />
                    </IncrementImage>
                    <DecrementImage>
                        <SpriteProperties HottrackedCssClass="dxEditors_edtSpinEditDecrementImageHover_Aqua" 
                            PressedCssClass="dxEditors_edtSpinEditDecrementImagePressed_Aqua" />
                        <SpriteProperties HottrackedCssClass="dxEditors_edtSpinEditDecrementImageHover_Aqua" 
                            PressedCssClass="dxEditors_edtSpinEditDecrementImagePressed_Aqua" />
                    </DecrementImage>
                    <LargeIncrementImage>
                        <SpriteProperties HottrackedCssClass="dxEditors_edtSpinEditLargeIncImageHover_Aqua" 
                            PressedCssClass="dxEditors_edtSpinEditLargeIncImagePressed_Aqua" />
                        <SpriteProperties HottrackedCssClass="dxEditors_edtSpinEditLargeIncImageHover_Aqua" 
                            PressedCssClass="dxEditors_edtSpinEditLargeIncImagePressed_Aqua" />
                    </LargeIncrementImage>
                    <LargeDecrementImage>
                        <SpriteProperties HottrackedCssClass="dxEditors_edtSpinEditLargeDecImageHover_Aqua" 
                            PressedCssClass="dxEditors_edtSpinEditLargeDecImagePressed_Aqua" />
                        <SpriteProperties HottrackedCssClass="dxEditors_edtSpinEditLargeDecImageHover_Aqua" 
                            PressedCssClass="dxEditors_edtSpinEditLargeDecImagePressed_Aqua" />
                    </LargeDecrementImage>
                </SpinButtons>
                <Paddings PaddingLeft="5px" />
            </dx:ASPxSpinEdit>
        </td>
    </tr>
    <tr>
        <td>
            &nbsp;</td>
        <td>
            <dx:ASPxCheckBox ID="chcActivoDN" runat="server" Checked="True" 
                CheckState="Checked" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                CssPostfix="Office2010Blue" 
                SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" Text="Activo" 
                Width="200px">
            </dx:ASPxCheckBox>
        </td>
    </tr>


</table>














          <table>
            <tr>
            <td>
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;</td>


            <td>
            
            
                <dx:ASPxButton ID="ASPxButton5" runat="server" AutoPostBack="False" 
                    CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                    CssPostfix="Office2010Blue" 
                    SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" Text="Grabar" 
                    Width="100px">
                    <ClientSideEvents Click="function(s, e) {
	PopupConfirmacionDetalleG.Show();
}" />
                    <ClientSideEvents Click="function(s, e) {
	PopupConfirmacionDetalleG.Show();
}" />
                </dx:ASPxButton>
                </td>


            <td>
            
            
                <dx:ASPxButton ID="ASPxButton6" runat="server" Text="Cancelar" 
                    CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                    CssPostfix="Office2010Blue" 
                    SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                    Width="100px" AutoPostBack="False">
                    <ClientSideEvents Click="function(s, e) {
	PopupDetNuevo.Hide();
}" />
                    <ClientSideEvents Click="function(s, e) {
	PopupDetNuevo.Hide();
}" />
                </dx:ASPxButton>
            </td>
            </tr>
            
            </table>






                         </dx:PanelContent>
</PanelCollection>
                 </dx:ASPxRoundPanel>





         </dx:PopupControlContentControl>
</ContentCollection>

</dx:ASPxPopupControl>






<dx:ASPxPopupControl ID="PopupDetModificar" runat="server" ClientInstanceName="PopupDetModificar" 
                     CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" 
                     HeaderText="Modificación" Modal="True" PopupHorizontalAlign="WindowCenter" 
                     PopupVerticalAlign="WindowCenter" 
                     SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css">

     <LoadingPanelImage Url="~/App_Themes/PlasticBlue/Web/dvLoading.gif">
     </LoadingPanelImage>
     <CloseButtonStyle>
         <Paddings Padding="0px" />
     </CloseButtonStyle>
     <ContentStyle>
         <BorderBottom BorderColor="#E0E0E0" BorderStyle="Solid" BorderWidth="1px" />
     </ContentStyle>
     <HeaderStyle>
     <Paddings PaddingBottom="4px" PaddingLeft="10px" PaddingRight="4px" 
         PaddingTop="4px" />
     </HeaderStyle>

     <ContentCollection>
<dx:PopupControlContentControl ID="PopupControlContentControl3" runat="server" SupportsDisabledAttribute="True">





<dx:ASPxRoundPanel ID="ASPxRoundPanel5" runat="server" 
                     CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                     CssPostfix="Office2010Blue" EnableDefaultAppearance="False" 
                     GroupBoxCaptionOffsetX="6px" GroupBoxCaptionOffsetY="-19px" HeaderText="" 
                     SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" View="GroupBox" 
                     Width="400px">
                     <ContentPaddings PaddingBottom="10px" PaddingLeft="9px" PaddingRight="11px" 
                         PaddingTop="10px" />
                     <ContentPaddings PaddingBottom="10px" PaddingLeft="9px" PaddingRight="11px" 
                         PaddingTop="10px" />
                     <HeaderStyle>
                     <Paddings PaddingBottom="6px" PaddingLeft="9px" PaddingRight="11px" 
                         PaddingTop="3px" />
                     <Paddings PaddingBottom="6px" PaddingLeft="9px" PaddingRight="11px" 
                         PaddingTop="3px" />
                     </HeaderStyle>
                     <PanelCollection>
<dx:PanelContent ID="PanelContent5" runat="server" SupportsDisabledAttribute="True">
<table>
<tr>
<td>

    Tabla:

</td>

<td>
    <dx:ASPxLabel ID="lblTablaM" runat="server">
    </dx:ASPxLabel>

</td>

</tr>


<tr>
<td>

    &nbsp;</td>

<td>

    &nbsp;</td>

</tr>


<tr>
<td>


    Descripción corta:
</td>


<td>
    <dx:ASPxTextBox ID="txtDescCortaM" runat="server" 
        CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
        CssPostfix="Office2010Blue" MaxLength="20" 
        SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
        Width="250px" Height="30px">
        <Paddings PaddingLeft="5px" />
    </dx:ASPxTextBox>


</td>


</tr>


    <tr>
        <td>
            &nbsp;</td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td>
            Descripción larga:
        </td>
        <td>
            <dx:ASPxTextBox ID="txtDesLargaM" runat="server" 
                CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                CssPostfix="Office2010Blue" MaxLength="100" 
                SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                Width="250px" Height="30px">
                <Paddings PaddingLeft="5px" />
            </dx:ASPxTextBox>
        </td>
    </tr>
    <tr>
        <td>
            &nbsp;</td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td>
            Descripción Opc.:</td>
        <td>
            <dx:ASPxTextBox ID="txtDescripcionOpcionalM" runat="server" 
                CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                CssPostfix="Office2010Blue" Height="30px" 
                SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" Width="250px">
                <Paddings PaddingLeft="5px" />
            </dx:ASPxTextBox>
        </td>
    </tr>
    <tr>
        <td>
            &nbsp;</td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td>
            Imp.Valor</td>
        <td>
            <dx:ASPxSpinEdit ID="SpinValor" runat="server" 
                CssFilePath="~/App_Themes/Aqua/{0}/styles.css" CssPostfix="Aqua" Height="30px" 
                MaxLength="50" Number="0" SpriteCssFilePath="~/App_Themes/Aqua/{0}/sprite.css" 
                Width="150px">
                <SpinButtons>
                    <IncrementImage>
                        <SpriteProperties HottrackedCssClass="dxEditors_edtSpinEditIncrementImageHover_Aqua" 
                            PressedCssClass="dxEditors_edtSpinEditIncrementImagePressed_Aqua" />
                        <SpriteProperties HottrackedCssClass="dxEditors_edtSpinEditIncrementImageHover_Aqua" 
                            PressedCssClass="dxEditors_edtSpinEditIncrementImagePressed_Aqua" />
                    </IncrementImage>
                    <DecrementImage>
                        <SpriteProperties HottrackedCssClass="dxEditors_edtSpinEditDecrementImageHover_Aqua" 
                            PressedCssClass="dxEditors_edtSpinEditDecrementImagePressed_Aqua" />
                        <SpriteProperties HottrackedCssClass="dxEditors_edtSpinEditDecrementImageHover_Aqua" 
                            PressedCssClass="dxEditors_edtSpinEditDecrementImagePressed_Aqua" />
                    </DecrementImage>
                    <LargeIncrementImage>
                        <SpriteProperties HottrackedCssClass="dxEditors_edtSpinEditLargeIncImageHover_Aqua" 
                            PressedCssClass="dxEditors_edtSpinEditLargeIncImagePressed_Aqua" />
                        <SpriteProperties HottrackedCssClass="dxEditors_edtSpinEditLargeIncImageHover_Aqua" 
                            PressedCssClass="dxEditors_edtSpinEditLargeIncImagePressed_Aqua" />
                    </LargeIncrementImage>
                    <LargeDecrementImage>
                        <SpriteProperties HottrackedCssClass="dxEditors_edtSpinEditLargeDecImageHover_Aqua" 
                            PressedCssClass="dxEditors_edtSpinEditLargeDecImagePressed_Aqua" />
                        <SpriteProperties HottrackedCssClass="dxEditors_edtSpinEditLargeDecImageHover_Aqua" 
                            PressedCssClass="dxEditors_edtSpinEditLargeDecImagePressed_Aqua" />
                    </LargeDecrementImage>
                </SpinButtons>
                <Paddings PaddingLeft="5px" />
            </dx:ASPxSpinEdit>
        </td>
    </tr>
    <tr>
        <td>
            &nbsp;</td>
        <td>
            <dx:ASPxCheckBox ID="chkActivoMD" runat="server" Checked="True" 
                CheckState="Checked" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                CssPostfix="Office2010Blue" 
                SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" Text="Activo" 
                Width="200px">
            </dx:ASPxCheckBox>
        </td>
    </tr>


</table>














          <table>
            <tr>
            <td>
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;</td>


            <td>
            
            
                <dx:ASPxButton ID="ASPxButton7" runat="server" AutoPostBack="False" 
                    CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                    CssPostfix="Office2010Blue" 
                    SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" Text="Grabar" 
                    Width="100px">
                    <ClientSideEvents Click="function(s, e) {
	PopupConfirmacionDetalleM.Show();
}" />
                    <ClientSideEvents Click="function(s, e) {
	PopupConfirmacionDetalleM.Show();
}" />
                </dx:ASPxButton>
                </td>


            <td>
            
            
                <dx:ASPxButton ID="ASPxButton8" runat="server" Text="Cancelar" 
                    CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                    CssPostfix="Office2010Blue" 
                    SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                    Width="100px" AutoPostBack="False">
                    <ClientSideEvents Click="function(s, e) {
	PopupDetModificar.Hide();
}" />
                    <ClientSideEvents Click="function(s, e) {
	PopupDetModificar.Hide();
}" />
                </dx:ASPxButton>
            </td>
            </tr>
            
            </table>






                         </dx:PanelContent>
</PanelCollection>
                 </dx:ASPxRoundPanel>





         </dx:PopupControlContentControl>
</ContentCollection>

</dx:ASPxPopupControl>







<dx:ASPxPopupControl ID="PopupConfirmacionDetalleG" runat="server" AllowDragging="True" 
                    ClientInstanceName="PopupConfirmacionDetalleG" CloseAction="CloseButton" 
                    CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" 
                    EnableViewState="False" HeaderText="Mensaje" 
                    LoadingPanelText="Cargando&amp;hellip;" Modal="True" 
                    PopupHorizontalAlign="WindowCenter" PopupVerticalAlign="WindowCenter" 
                    SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css" 
        Width="300px">
                
                    

                    <loadingpanelimage url="~/App_Themes/PlasticBlue/Web/dvLoading.gif">
                    

                    </loadingpanelimage>
                    

                    <closebuttonstyle>
                    

                    <paddings padding="0px" />
                    

                    </closebuttonstyle>
                    

                    <contentstyle>
                    

                    <borderbottom bordercolor="#E0E0E0" borderstyle="Solid" borderwidth="1px" />
                    

                    </contentstyle>
                    

                    <HeaderStyle>

                    <paddings paddingbottom="4px" paddingleft="10px" paddingright="4px" 
                        paddingtop="4px" />
                    

                    </HeaderStyle>
                    

                    <contentcollection>
                    
                    <dx:PopupControlContentControl ID="PopupControlContentControl5" runat="server" 
                        SupportsDisabledAttribute="True">

    <br />
      <dx:ASPxPanel ID="ASPxPanel3" runat="server" DefaultButton="btCreate">
                    <panelcollection>
                        <dx:PanelContent ID="PanelContent8" runat="server">
                        <table>
                        <tr>
                        <td colspan="3">
                        
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; ¿Estas seguro de grabar ?</td>
                        
                        </tr>
                            <tr>
                                <td colspan="3">
                                   </td>
                            </tr>
                            <tr>
                                <td colspan="3">
                                    &nbsp;</td>
                            </tr>
                        <tr>
                        <td>
                        
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;
                        
                           </td>
                        <td>
                        
                        
                            <dx:ASPxButton ID="btnPopAceptarDG" runat="server" AutoPostBack="False" 
                                ClientInstanceName="btnEliminar" 
                                CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                CssPostfix="Office2010Blue" OnClick="btnPopAceptarDG_Click" 
                                SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" Text="Aceptar" 
                                Width="10px">
                                <clientsideevents click="function(s, e) {
	PopupConfirmacionDetalleG.Hide();
	PopupDetNuevo.Hide();
	e.processOnServer = true;
}" />
                            </dx:ASPxButton>
                        </td>

                        <td>
                            <dx:ASPxButton ID="ASPxButton11" runat="server" AutoPostBack="False" 
                                CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                CssPostfix="Office2010Blue" 
                                SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" Text="Cancelar" 
                                Width="10px">
                                <clientsideevents click="function(s, e) {
	PopupConfirmacionDetalleG.Hide();
}" />
                            </dx:ASPxButton>
                          </td>
                        
                        </tr>
                        
                        
                        </table>




                 </dx:PanelContent>
    </panelcollection>
   </dx:ASPxPanel>
   </dx:PopupControlContentControl>
                    
                    </contentcollection>
                    

                </dx:ASPxPopupControl>





<dx:ASPxPopupControl ID="PopupConfirmacionDetalleM" runat="server" AllowDragging="True" 
                    ClientInstanceName="PopupConfirmacionDetalleM" CloseAction="CloseButton" 
                    CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" 
                    EnableViewState="False" HeaderText="Mensaje" 
                    LoadingPanelText="Cargando&amp;hellip;" Modal="True" 
                    PopupHorizontalAlign="WindowCenter" PopupVerticalAlign="WindowCenter" 
                    SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css" 
        Width="300px">
                
                    

                    <loadingpanelimage url="~/App_Themes/PlasticBlue/Web/dvLoading.gif">
                    

                    </loadingpanelimage>
                    

                    <closebuttonstyle>
                    

                    <paddings padding="0px" />
                    

                    </closebuttonstyle>
                    

                    <contentstyle>
                    

                    <borderbottom bordercolor="#E0E0E0" borderstyle="Solid" borderwidth="1px" />
                    

                    </contentstyle>
                    

                    <HeaderStyle>

                    <paddings paddingbottom="4px" paddingleft="10px" paddingright="4px" 
                        paddingtop="4px" />
                    

                    </HeaderStyle>
                    

                    <contentcollection>
                    
                    <dx:PopupControlContentControl ID="PopupControlContentControl7" runat="server" 
                        SupportsDisabledAttribute="True">

    <br />
      <dx:ASPxPanel ID="ASPxPanel4" runat="server" DefaultButton="btCreate">
                    <panelcollection>
                        <dx:PanelContent ID="PanelContent9" runat="server">
                        <table>
                        <tr>
                        <td colspan="3">
                        
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; ¿Estas seguro de actualizar?</td>
                        
                        </tr>
                            <tr>
                                <td colspan="3">
                                   </td>
                            </tr>
                            <tr>
                                <td colspan="3">
                                    &nbsp;</td>
                            </tr>
                        <tr>
                        <td>
                        
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;
                        
                           </td>
                        <td>
                        
                        
                            <dx:ASPxButton ID="btnPopAceptarDM" runat="server" AutoPostBack="False" 
                                ClientInstanceName="btnEliminar" 
                                CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                CssPostfix="Office2010Blue" OnClick="btnPopAceptarDM_Click" 
                                SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" Text="Aceptar" 
                                Width="10px">
                                <clientsideevents click="function(s, e) {
	PopupConfirmacionDetalleM.Hide();
	PopupDetModificar.Hide();
	e.processOnServer = true;
}" />
                            </dx:ASPxButton>
                        </td>

                        <td>
                            <dx:ASPxButton ID="ASPxButton13" runat="server" AutoPostBack="False" 
                                CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                CssPostfix="Office2010Blue" 
                                SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" Text="Cancelar" 
                                Width="10px">
                                <clientsideevents click="function(s, e) {
	PopupConfirmacionDetalleM.Hide();
}" />
                            </dx:ASPxButton>
                          </td>
                        
                        </tr>
                        
                        
                        </table>




                 </dx:PanelContent>
    </panelcollection>
   </dx:ASPxPanel>
   </dx:PopupControlContentControl>
                    
                    </contentcollection>
                    

                </dx:ASPxPopupControl>


 
             
             </ContentTemplate>
             </asp:UpdatePanel>

             </div>
</asp:Content>
